<!DOCTYPE html>
<html lang="" version="<%= htmlWebpackPlugin.options.version %>">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
    <script src="<%= htmlWebpackPlugin.options.fiberOptions.headerJS %>"></script>
    <script src="<%= htmlWebpackPlugin.options.fiberOptions.csdkJS %>"></script>
    <%= htmlWebpackPlugin.options.fiber %> <% if (!!htmlWebpackPlugin.options.fiberOptions.js &&
    !!htmlWebpackPlugin.options.fiberOptions.js.length) { %> <%
    htmlWebpackPlugin.options.fiberOptions.js.forEach(function(item){%>
    <script src="<%= item %>"></script>
    <% }) %> <% } %> <% if (!!htmlWebpackPlugin.options.fiberOptions.css &&
    !!htmlWebpackPlugin.options.fiberOptions.css.length) { %> <%
    htmlWebpackPlugin.options.fiberOptions.css.forEach(function(item){%>
    <link href="<%= item %>" rel="stylesheet" />
    <% }) %> <% } %>

    <script type="text/javascript">
      var _wfctxPath = _ctxPath;
    </script>
    <title></title>
  </head>
  <body id="collaboration-body" class="is-create">
    <noscript>
      <strong
        >We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without
        JavaScript enabled. Please enable it to continue.</strong
      >
    </noscript>
    <div id="app"></div>
    <!-- 用于下载、和唤起致信 不跳转页面-->
    <iframe style="display: none" name="openFrame" frameborder="0" width="0" height="0"></iframe>
    <!-- built files will be auto injected -->
    <!-- <script>
            const SIGN_PARAMS = [
                'summaryId',
                'affairId',
                'allocationAffairId',
                'wfProcessId',
                'formAppId',
                'fromRecordId',
                'viewId',
                'formViewOperation',
                'subject',
                '_trackTitle',
                '_summaryProcessId',
                '_summaryActivityId',
                '_summaryCaseId',
                '_summaryItemId',
                'showContentIdentify',
                '_processTemplateId',
                '_contextProcessId',
                '_contextActivityId',
                '_contextCaseId',
                '_contextItemId',
                '_scene',
                'show1',
                'show2',
                'DR',
                'templateProcessId',
                'senderId',
                'nodePolicy',
                'nodePolicyName',
                'projectId',
                '_currentUserId',
                '_currentUserName',
                '_loginAccountId',
                'isFromTemplate',
                'templateType',
                'affairState',
                'affairSubState',
                'isCurrentUserSupervisor',
                'isCurrentUserSender',
                'isFinshed',
                'isFinish',
                'commentId',
                '_isOfficeTrans',
                'openFrom',
                'extFrom',
                'thirdparty',
                'summaryReadOnly',
                'templateId',
                'isSupervise',
                'isFormQuery',
                'isFormStatic',
                'isCurSuperivse',
                '_moduleTypeName',
                '_affairMemberId',
                '_startMemberId',
                '_canFavorite',
                'canAttFavorite',
                'trackType',
                'bodyType',
                'hasBarCodePlug',
                'formRecordid',
                'operationId',
                'isFromTrace',
                'officecanPrint',
                'canEdit',
                'pdfCanSaveLocal',
                'officecanSaveLocal',
                'trackIds',
                'openType',
                'contentAnchor',
                'nodePerm_baseActionList',
                'nodePerm_commonActionList',
                'nodePerm_advanceActionList',
                'isDeal',
                'flowPermAccountId',
                'hasAttsFlag',
                'templateWorkflowId',
                'supervisorsId',
                'summaryOrgAccountId',
                'affairFirstViewTime',
                'affairSignleViewPeriod',
                'secretLevelAble',
                'secretLevelJSON',
                'isSupervision',
                'layout',
                'rightId',
                'nowNodeIsSignatureHtml',
                'dialogId',
                'isHasDealPage',
                'isTimeLine',
                'noConfigItem',
                'customSetTrackFlag',
                'deeReadOnly',
                'isHistoryFlag',
                'affairMemberName',
                'currentUserLocale',
                'currentUserloginName',
                '_isSystemAdmin',
                '_trackTypeRecord',
                'isCollCube',
                'isColl360',
                'isOptional',
                'optionalAction',
                'defaultActio',
                'hasPluginUC',
                'hasDealArea',
                'canCreateMeeting',
                'isCollect',
                'wfTraceType',
                'signetProtectInput',
                'hasMeeting',
                'isV5Member',
                'cap4Flag',
                'hasFormLock',
                'alertLockMsg',
                'realFormLock',
                'isReadOnly',
                'needLockForm',
                'officeOcxUploadMaxSize',
                'affairBodyType',
                'isFromTransform',
                'forwardMember',
                'replyCounts',
                'nodeName',
                'tabOfficeURL',
                'isCAP4',
                'hasForward',
                'isThirdContent',
                'zwIframeModuleId',
                '_summaryId',
                'canExePrediction',
                'templateCanDeleteNode',
                'isAppLinkApprove',
                'canShare',
                'fileUploadMaxSize',
                'isForward',
                'openForm',
                'contentAffairId',
                'workflowTraceType',
                '_praiseC',
                '_praise',
                '_replyI18n',
                'stateMemberName',
                'startMemberId',
                'subState',
                'canPraise',
                '_isffin',
                'logDescMap',
                'senderLabel',
                'hideColCommentLabel',
                'findCommentLabel',
                'a',
                'tps',
            ];

            var used = new Set();
            SIGN_PARAMS.forEach((d) => {
                var value = '';
                Object.defineProperty(window, d, {
                    get() {
                        used.add(d);
                        return value;
                    },
                    set(v) {
                        value = v;
                    },
                });
            });
        </script> -->
    <script>
      function getI18nCode(cn, isFuzzy) {
        return Object.entries(Object.values(CTPLang)[0]).filter(function (dataArray) {
          var value = dataArray[1];
          return isFuzzy ? value.includes(cn) : value === cn;
        });
      }
    </script>
  </body>
</html>
